<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>PhoneUtils</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script>  </head>
  <body>
    <div id="container">
      <div id="leftColumn"><a href="../../../index.html">
          <div id="logo"></div>
        </a>
        <div id="paneSearch"></div>
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script>        <div class="main-content" id="content" pageIds="Engine::com.drake.engine.utils/PhoneUtils///PointingToDeclaration//-1683276876">
          <div class="navigation-wrapper" id="navigation-wrapper">
            <div class="breadcrumbs"><a href="../../../index.html">Engine</a>/<a href="../index.html">com.drake.engine.utils</a>/<a href="index.html">PhoneUtils</a></div>
            <div class="pull-right d-flex">
              <div id="searchBar"></div>
            </div>
          </div>
          <div class="cover ">
            <h1 class="cover"><span>Phone</span><wbr></wbr><span>Utils</span></h1>
            <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open class <a href="index.html">PhoneUtils</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
          </div>
          <div class="tabbedcontent">
            <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
            <div class="tabs-section-body">
              <h2 class="">Functions</h2>
              <div class="table" data-togglable="Functions"><a data-name="833863402%2FFunctions%2F-1683276876" anchor-label="call" id="833863402%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="call.html">call</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="833863402%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="call.html">call</a>(phoneNumber: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="833863402%2FFunctions%2F-1683276876" anchor-label="call" id="833863402%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="833863402%2FFunctions%2F-1683276876" anchor-label="call" id="833863402%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>拨打电话需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="166201880%2FFunctions%2F-1683276876" anchor-label="dial" id="166201880%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="dial.html">dial</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="166201880%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="dial.html">dial</a>(phoneNumber: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="166201880%2FFunctions%2F-1683276876" anchor-label="dial" id="166201880%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="166201880%2FFunctions%2F-1683276876" anchor-label="dial" id="166201880%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>跳至拨号界面</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-823406134%2FFunctions%2F-1683276876" anchor-label="getAllContactInfo" id="-823406134%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-all-contact-info.html">getAllContactInfo</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-823406134%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-all-contact-info.html">getAllContactInfo</a>(): <a href="https://developer.android.com/reference/kotlin/java/util/List.html">List</a>&lt;<a href="https://developer.android.com/reference/kotlin/java/util/HashMap.html">HashMap</a>&lt;<a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>, <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&gt;&gt;<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-823406134%2FFunctions%2F-1683276876" anchor-label="getAllContactInfo" id="-823406134%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-823406134%2FFunctions%2F-1683276876" anchor-label="getAllContactInfo" id="-823406134%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取手机联系人需添加权限 <code>{@code }</code>需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="771796671%2FFunctions%2F-1683276876" anchor-label="getAllSMS" id="771796671%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-all-s-m-s.html">getAllSMS</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="771796671%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-all-s-m-s.html">getAllSMS</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="771796671%2FFunctions%2F-1683276876" anchor-label="getAllSMS" id="771796671%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="771796671%2FFunctions%2F-1683276876" anchor-label="getAllSMS" id="771796671%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取手机短信并保存到xml中 需添加权限 <code>{@code }</code>需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1544229425%2FFunctions%2F-1683276876" anchor-label="getContactNum" id="1544229425%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-contact-num.html">getContactNum</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1544229425%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-contact-num.html">getContactNum</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1544229425%2FFunctions%2F-1683276876" anchor-label="getContactNum" id="1544229425%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1544229425%2FFunctions%2F-1683276876" anchor-label="getContactNum" id="1544229425%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>打开手机联系人界面点击联系人后便获取该号码参照以下注释代码</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="532381327%2FFunctions%2F-1683276876" anchor-label="getIMEI" id="532381327%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-i-m-e-i.html">getIMEI</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="532381327%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-i-m-e-i.html">getIMEI</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="532381327%2FFunctions%2F-1683276876" anchor-label="getIMEI" id="532381327%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="532381327%2FFunctions%2F-1683276876" anchor-label="getIMEI" id="532381327%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取IMEI码需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1110075677%2FFunctions%2F-1683276876" anchor-label="getIMSI" id="1110075677%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-i-m-s-i.html">getIMSI</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1110075677%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-i-m-s-i.html">getIMSI</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1110075677%2FFunctions%2F-1683276876" anchor-label="getIMSI" id="1110075677%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1110075677%2FFunctions%2F-1683276876" anchor-label="getIMSI" id="1110075677%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取IMSI码需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-946335196%2FFunctions%2F-1683276876" anchor-label="getIPAddress" id="-946335196%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-i-p-address.html">getIPAddress</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-946335196%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-i-p-address.html">getIPAddress</a>(useIPv4: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a>): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-946335196%2FFunctions%2F-1683276876" anchor-label="getIPAddress" id="-946335196%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-946335196%2FFunctions%2F-1683276876" anchor-label="getIPAddress" id="-946335196%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取ip地址</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1595521789%2FFunctions%2F-1683276876" anchor-label="getPhoneStatus" id="-1595521789%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-phone-status.html">getPhoneStatus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1595521789%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-phone-status.html">getPhoneStatus</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1595521789%2FFunctions%2F-1683276876" anchor-label="getPhoneStatus" id="-1595521789%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1595521789%2FFunctions%2F-1683276876" anchor-label="getPhoneStatus" id="-1595521789%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取手机状态信息需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="53257403%2FFunctions%2F-1683276876" anchor-label="getPhoneType" id="53257403%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-phone-type.html">getPhoneType</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="53257403%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-phone-type.html">getPhoneType</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="53257403%2FFunctions%2F-1683276876" anchor-label="getPhoneType" id="53257403%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="53257403%2FFunctions%2F-1683276876" anchor-label="getPhoneType" id="53257403%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取移动终端类型</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1675132921%2FFunctions%2F-1683276876" anchor-label="getSimOperatorByMnc" id="-1675132921%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-sim-operator-by-mnc.html">getSimOperatorByMnc</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1675132921%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-sim-operator-by-mnc.html">getSimOperatorByMnc</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1675132921%2FFunctions%2F-1683276876" anchor-label="getSimOperatorByMnc" id="-1675132921%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1675132921%2FFunctions%2F-1683276876" anchor-label="getSimOperatorByMnc" id="-1675132921%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取Sim卡运营商名称中国移动、如中国联通、中国电信</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="776765437%2FFunctions%2F-1683276876" anchor-label="getSimOperatorName" id="776765437%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-sim-operator-name.html">getSimOperatorName</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="776765437%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-sim-operator-name.html">getSimOperatorName</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="776765437%2FFunctions%2F-1683276876" anchor-label="getSimOperatorName" id="776765437%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="776765437%2FFunctions%2F-1683276876" anchor-label="getSimOperatorName" id="776765437%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>获取Sim卡运营商名称中国移动、如中国联通、中国电信</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1283980151%2FFunctions%2F-1683276876" anchor-label="getUniqueDeviceID2MD5" id="-1283980151%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-unique-device-i-d2-m-d5.html">getUniqueDeviceID2MD5</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1283980151%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-unique-device-i-d2-m-d5.html">getUniqueDeviceID2MD5</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1283980151%2FFunctions%2F-1683276876" anchor-label="getUniqueDeviceID2MD5" id="-1283980151%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1283980151%2FFunctions%2F-1683276876" anchor-label="getUniqueDeviceID2MD5" id="-1283980151%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>生成设备唯一标识：IMEI、AndroidId、macAddress 三者拼接再 MD5</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1470715544%2FFunctions%2F-1683276876" anchor-label="isNetworkConnected" id="-1470715544%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="is-network-connected.html">isNetworkConnected</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1470715544%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="is-network-connected.html">isNetworkConnected</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1470715544%2FFunctions%2F-1683276876" anchor-label="isNetworkConnected" id="-1470715544%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1470715544%2FFunctions%2F-1683276876" anchor-label="isNetworkConnected" id="-1470715544%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>是否联网</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1698743287%2FFunctions%2F-1683276876" anchor-label="isPhone" id="-1698743287%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="is-phone.html">isPhone</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1698743287%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="is-phone.html">isPhone</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1698743287%2FFunctions%2F-1683276876" anchor-label="isPhone" id="-1698743287%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1698743287%2FFunctions%2F-1683276876" anchor-label="isPhone" id="-1698743287%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>判断设备是否是手机</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1389094233%2FFunctions%2F-1683276876" anchor-label="isSimCardReady" id="-1389094233%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="is-sim-card-ready.html">isSimCardReady</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1389094233%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="is-sim-card-ready.html">isSimCardReady</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1389094233%2FFunctions%2F-1683276876" anchor-label="isSimCardReady" id="-1389094233%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1389094233%2FFunctions%2F-1683276876" anchor-label="isSimCardReady" id="-1389094233%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>判断sim卡是否准备好</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="232000634%2FFunctions%2F-1683276876" anchor-label="phoneNumberFormat" id="232000634%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="phone-number-format.html">phoneNumberFormat</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="232000634%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="phone-number-format.html">phoneNumberFormat</a>(tel: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="232000634%2FFunctions%2F-1683276876" anchor-label="phoneNumberFormat" id="232000634%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="232000634%2FFunctions%2F-1683276876" anchor-label="phoneNumberFormat" id="232000634%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>给手机号码添加空格</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1490070275%2FFunctions%2F-1683276876" anchor-label="sendSms" id="1490070275%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="send-sms.html">sendSms</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1490070275%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="send-sms.html">sendSms</a>(phoneNumber: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>, content: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1490070275%2FFunctions%2F-1683276876" anchor-label="sendSms" id="1490070275%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1490070275%2FFunctions%2F-1683276876" anchor-label="sendSms" id="1490070275%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>跳至发送短信界面</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="192744056%2FFunctions%2F-1683276876" anchor-label="sendSmsSilent" id="192744056%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="send-sms-silent.html">sendSmsSilent</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="192744056%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="send-sms-silent.html">sendSmsSilent</a>(phoneNumber: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>, content: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="192744056%2FFunctions%2F-1683276876" anchor-label="sendSmsSilent" id="192744056%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="192744056%2FFunctions%2F-1683276876" anchor-label="sendSmsSilent" id="192744056%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>发送短信需添加权限 <code>{@code }</code></div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
      </div>
    </div>
  </body>
</html>

